import com.service.Accountservice;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test {
    @Test
    public void test(){
        Accountservice accountservice=
                (Accountservice) new ClassPathXmlApplicationContext("spring.xml")
                        .getBean("accountserviceImpl");
        accountservice.save();
    }
}
